<template>
  <div class="back-warp" @click="backRouterHandler">
    <span class="iconfont icon-header-arrow-left"></span>
  </div>
</template>

<script>
  export default{
    name:'BackWard',
    methods:{
      backRouterHandler:function(){
        this.$router.go(-1);
      }
    }
  }
</script>

<style lang="scss" scoped="scoped">
  @import '~styles/mixins.scss';
  @import '~styles/variables.scss';

  .back-warp{
    position: absolute;
    top: 0;
    left: 0;
    @include flex-row;
    @include vh-center;
    width: $headerHeight;
    height: $headerHeight;
    .iconfont{
      font-size: .2rem;
    }
  }
</style>
